package com.doyens.gmall.cart.service;

import com.doyens.gmall.model.cart.CartInfo;

import java.util.List;

/**
 * Classname:CartService
 * PackageName:com.doyens.gmall.service
 *
 * @Author:uyijk
 * @Create:2023/8/8 11:24
 * @Version: 1.0
 */
public interface CartService {
    void addToCart(Long skuId, String userId, Integer skuNum);

    List<CartInfo> getCartList(String userId, String userTempId);

    void checkCart(String userId, Long skuId, Integer isChecked);

    void deleteCart(String userId, Long skuId);
}
